import 'package:share_fit/app/controllers/base/base_controller.dart';
import 'package:share_fit/app/ute/uteped_const.dart';

class RestorationLogic extends BaseController {

  static const REMOTE_PATH = "space";
  static String M_resetFactory = "resetFactory";

  @override
  String getRemotePath() {
   return REMOTE_PATH;
  }

  @override
  void initState() {
    // TODO: implement initState
  }

  @override
  void onRemoteEvent(event, method) {
    // TODO: implement onRemoteEvent
  }

  Future<void> resetFactory({required Null Function(dynamic _) back}) async {
    var result = await dRemoteReqAsync(M_resetFactory, {});
    back(result);
  }

}